package com.zzq.service.impl;


import com.zzq.annotation.EnableMyPage;
import com.zzq.domain.dto.SmileShootRecordDTO;
import com.zzq.domain.search.ShootRecordSearchParament;
import com.zzq.result.SmileResult;
import com.zzq.service.ShootRecordAdminService;
import com.zzq.service.SmileShootRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShootRecordAdminServiceImpl implements ShootRecordAdminService {

    @Autowired
    SmileShootRecordService shootRecordService;


    @Override
    @EnableMyPage
    public SmileResult getAllShootRecord(ShootRecordSearchParament shootRecordSearchParament) {
        List<SmileShootRecordDTO> smileShootRecordDTOs = shootRecordService.getSmileShootRecordDTOs(shootRecordSearchParament);
        return  SmileResult.sucess("获取成功",smileShootRecordDTOs);
    }


}
